import PageLayout from "../../layout/PageLayout.vue";

export default {
  path: "/logs",
  name: "logs",
  component: PageLayout,
  meta: { title: "日志中心", root: true },
  children: [
    {
      path: "error",
      name: "logs-error",
      component: () => import("@/views/logs/ErrorLogs"),
      meta: {
        title: "异常日志",
        buttons: [
          {
            name: "logs-error:nav",
            meta: {
              title: "一键导航",
            },
          },
        ],
      },
    },
    {
      path: "device",
      name: "logs-device",
      component: () => import("@/views/logs/DeviceLogs"),
      meta: {
        title: "设备日志",
      },
    },
    {
      path: "dynamic",
      name: "logs-dynamic",
      component: () => import("../../views/logs/DynamicLogs.vue"),
      meta: {
        title: "用户动态日志",
      },
    },
    // {
    //   path: "robot",
    //   name: "logs-robot",
    //   component: () => import("../../views/logs/RobotLogs.vue"),
    //   meta: {
    //     title: "机器人日志",
    //   },
    // },
  ],
};
